import numpy as np
print("############## generate data ################")
n = int(input("enter n(the number of object): "))
table = np.array([[np.random.randint(0,10), np.random.randint(0,10)] for i in range(n)])

np.savetxt("table.csv",table, fmt = "%d")
print("#############################################")
